/** 
 * All Rights Reserved , Copyright (C) 2020 , 青岛鼎信通讯股份有限公司
 * 
 * FileManageActionAuto
 * 文件记录
 * 
 * 修改纪录
 * 2020-08-15 版本：1.0 donghang 创建。
 * @version 版本：1.0
 * @author 作者：donghang
 * 创建日期：2020-08-15
 */

package com.topscomm.meet.controller.auto;

import com.topscomm.meet.MeetController;
import com.topscomm.meet.pojo.MeetTaskEntity;
import com.topscomm.meet.service.IMeetTaskService;
import com.topscomm.pub.vo.ResponseResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

public class TaskManageControllerAuto extends MeetController<MeetTaskEntity, IMeetTaskService> {

	/**
	 * @author: shenyouyi
	 * @date: 2020-08-21
	 * @param: paraMap
	 * @return
	 * @description: 获取编码值列表
	 * @modify:
	 */
	@Override
	@GetMapping(value = "/dataCodeList")
	public ResponseResult<Object> dataCodeList(@RequestParam(required = false) Map<String, Object> paraMap) {
		super.dataCodeList(paraMap);
		Map<String, Object> codeMap = this.service.searchCodeMapFromOA();
		return ResponseResult.ok(codeMap);
	}
}

